<div role="navigation" class="footer-nav">
<?php $get_params=$this->request->params['controller'].'/'.$this->request->params['action'].'/'.$params; 
$get_params_none=$this->request->params['controller'];?>
                <ul class="nav navbar-nav">
                    <?php foreach($menusbottom as $menu) {?>
                        <li class="<?php echo (!empty($this->params['action']) && ($get_params==$menu['Menu']['url'] || $get_params==$menu['Menu']['url'].'posts/index/' || $get_params_none==$menu['Menu']['url']) )?'active' :'' ?>"><a href="<?php echo $this->webroot.$menu['Menu']['url']; ?>"><?php echo $menu['Menu']['title']; ?></a></li>
                        
                    <?php }  
//                    visitor counter
                    ?>
                </ul>
    
<?php // print_r($products); ?>
</div>